%% 5.6	Water retention curve 2
% Calculate for soils 1, 3, 6, 7 and 9 in the above figure of the soil 
% water retention curves the water availability for plants between pF=2 and 
% pF=4.2. Give your answer in volume fraction, ?, and in equivalent mm 
% (rainfall) in a root zone of 0.6 m.

% Read from graph

% pF2; 
graph.no    = [1 3 6 7 9];
graph.pF2   = [2 2 2 2 2];
graph.thetaPF2  = [0.12 0.25 0.61 0.47 0.61];
graph.thetaPF42 = [0.03 0.06 0.20 0.27 0.37];
graph.thetaPF0  = [0.42 0.43 0.82 0.49 0.57];

graph.p         = graph.thetaPF0;
fprintf('The porosities for the different soils are estimated:\n');
disp(graph.p);
% I have no idea how to translate it to cm water column

